<?php
include("VerifySession.php");
?>

<?php
	include("SNManager.class.php");
	$db = new SNDataManager();
	$result= false;
   if($_REQUEST["UID"])
   	{
      $result=  $db->RemoveSNNumber($_REQUEST["UID"]);
      
      if($result) $msg= "Remove Serial Success.";
        else $msg= "Remove Serial Failed.";
        echo "<script type='text/javascript'>alert('".$msg."');</script>";
        
        $db->redirect("ImportFilePage.php");
        //header( 'Location:ImportFilePage.php' );
        
    }
   ?>